#ifndef _IO_H_
#define _IO_H_

#define COM1	0
#define COM2	1

#define ON	1
#define	OFF	0

int SetFifo( int channel, int state );

int SetSpeed( int channel, int speed );

int Putx( int channel, char c );

int PutString( int channel, char *str );

int Putr( int channel, unsigned int reg );

int SPrintf( char *buf, char *format, ... );

void Printf( char *format, ... );

#endif // _IO_H_
